﻿namespace Windows.Basic.Service
{
    public interface IDictionaryCategoryService
    {
        /// <summary>
        /// 获取id的字典类型详情
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<DictionaryCategoryResponse> Detail(int id);
        /// <summary>
        /// 字典类型保存
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        /// <exception cref="ApiException"></exception>
        Task Save(DictionaryCategorySaveRequest request);
    }
}
